﻿@model System.Collections.Generic.List<Project3.Models.Meeting>

@{
    ViewBag.Title = "Index";
}

<h2>Organization Photos</h2>

<p>Look at pictures from our meetings</p>

<ul>
    @foreach (var meeting in Model)
    {
        <li>
        @Html.ActionLink(meeting.EventName,
            "MeetingPhoto",
            "Photo",
            new { id = meeting.MeetingID, page = 1 },
            null)
        </li>
    }
</ul>
<p>
    @if (Request.IsAuthenticated)
    {
        @Html.ActionLink("Create New Meeting", "Create")
    }
</p>